* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
ul{
	list-style-type: none;
}

body {
	font-family: Arial, sans-serif;
	line-height: 1.6;
	color: #333;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
header {
	background-color: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 20px;
	flex-wrap: wrap;
}

header h1 {
	font-size: 1.5rem;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 1.5rem;
}

nav ul li a {
	text-decoration: none;
	color: #333;
}

.publish-btn,
.login-up {
	background-color: #007bff;
	color: #fff;
	border: none;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	cursor: pointer;

}

.user-icon {
	width: 24px;
	height: 24px;
	margin-left: 1rem;
}

.header-actions {
	display: flex;
	align-items: center;
}

.search-container {
	display: flex;
	margin-right: 1rem;
}

#header-search {
	padding: 0.5rem;
	border: 1px solid #ccc;
	border-right: none;
	border-radius: 4px 0 0 4px;
	font-size: 0.9rem;
}

#header-search-btn {
	background-color: #f1f3f5;
	border: 1px solid #ccc;
	border-left: none;
	border-radius: 0 4px 4px 0;
	padding: 0.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

#header-search-btn:hover {
	background-color: #e9ecef;
}

/* Hero Section */
.hero {
	background-image: url('/ChuFood/chushi/img/hr.jpg?food');
	background-size: cover;
	background-position: center;
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	position: relative;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
	position: relative;
	z-index: 1;
}

.hero h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

.hero-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.btn {
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1rem;
}

.btn.primary {
	background-color: #007bff;
	color: #fff;
}

.btn.secondary {
	background-color: #fff;
	color: #333;
}

/* Search Section */
.search {
	padding: 3rem 0;
	text-align: center;
}

.search h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.search p {
	margin-bottom: 2rem;
}

.search-bar {
	display: flex;
	max-width: 600px;
	margin: 0 auto;
}

.search-bar input {
	flex-grow: 1;
	padding: 0.75rem;
	border: 1px solid #ccc;
	border-radius: 4px 0 0 4px;
}

.search-bar button {
	padding: 0.75rem 1.5rem;
	background-color: #007bff;
	color: #fff;
	border: none;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
}

/* Recipe Lists */
.recipe-lists {
	padding: 3rem 0;
}

.recipe-lists .container {
	display: flex;
	gap: 2rem;
}

.recipe-column {
	flex: 1;
}

.column-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.column-header h3 {
	font-size: 1.5rem;
}

.view-more {
	color: #007bff;
	text-decoration: none;
}

.recipe-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.recipe-item {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.recipe-item img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
}

.recipe-item-content {
	flex-grow: 1;
}

.recipe-item h4 {
	margin-bottom: 0.25rem;
}

.recipe-item p {
	font-size: 0.9rem;
	color: #666;
}

.star-icon {
	width: 24px;
	height: 24px;
	color: #ccc;
	cursor: pointer;
}

/* Recommended Recipes */
.recommended-recipes {
	padding: 3rem 0;
	background-color: #f8f9fa;
}

.recommended-recipes h3 {
	font-size: 2rem;
	margin-bottom: 1rem;
	text-align: center;
}

.recommended-recipes>p {
	text-align: center;
	margin-bottom: 2rem;
}

.recipe-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.recipe-card {
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.recipe-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.recipe-card-content {
	padding: 1rem;
}

.recipe-card h4 {
	margin-bottom: 0.5rem;
}

.recipe-card p {
	font-size: 0.9rem;
	color: #666;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.pagination button {
	background-color: #f1f3f5;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1.2rem;
}

/* Footer */
footer {
	background-color: #f8f9fa;
	padding: 3rem 0 1.5rem;
}

.footer-content {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section {
	flex: 1;
	min-width: 200px;
}

.footer-section h4 {
	margin-bottom: 1rem;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 0.5rem;
}

.footer-section ul li a {
	color: #666;
	text-decoration: none;
}

.social-icons {
	display: flex;
	gap: 1rem;
}

.social-icon {
	width: 24px;
	height: 24px;
	color: #666;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1.5rem;
	border-top: 1px solid #dee2e6;
}

.footer-links {
	display: flex;
	gap: 1rem;
}

.footer-links a {
	color: #666;
	text-decoration: none;
}

@media (max-width: 768px) {
	.recipe-lists .container {
		flex-direction: column;
	}

	.footer-content {
		flex-direction: column;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
	}
}

.login-up {
	margin-left: 20px;
}

.user-icon-img,
.user-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;

}


.Loginlist {
	width: 116px;
	background: #FFFFFF;
	box-shadow: 0 2px 12px 0 rgba(175, 187, 204, 0.75);
	border-radius: 6px;
	position: absolute;
	padding: 6px 0;
	height: 110px;
	display: none;
	
}
	

.Loginlist li {
	width: 100%;
	height: 48px;
}

.Loginlist li a {
	display: block;
	width: 100%;
	height: 48px;
	line-height: 48px;
	text-align: center;
	font-size: 14px;
	color: #646873;
	text-decoration: none;
}

.Loginlist li a:hover {
	background: #F5F8FB;
	color: #3B90FF;
}

.Loginlist li a i {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	margin-right: 8px;
}

.Loginlist {
	position: absolute;
}



.Loginlist-ico{
	height: 20px;
	width: 20px;
}